package com.woniuxy.controller;

import com.woniuxy.entity.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * description: ErroController <br>
 * date: 2021/12/6 9:53 下午 <br>
 * author: shesaifei <br>
 * version: 1.0 <br>
 */
@RestController
public class ErroController {
    @RequestMapping("/401")
    public ResponseEntity<String>error401(){
        return new ResponseEntity<>(401,"权限认证失败",null);
    }
}
